package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 曹畅
 * @since 2019-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsInspectiontaskDetail extends Model<PsInspectiontaskDetail> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("taskmainId")
    private Integer taskmainId;

    @TableField("isBug")
    private Integer isBug;

    @TableField("intactRate")
    private String intactRate;

    @TableField("bugLevel")
    private Integer bugLevel;

    @TableField("bugLevelName")
    private String bugLevelName;

    @TableField("bugType")
    private Integer bugType;

    @TableField("bugTypeName")
    private String bugTypeName;

    @TableField("bugDesc")
    private String bugDesc;

    private Integer userid;

    @TableField("discoverTime")
    private LocalDateTime discoverTime;

    @TableField("isSolve")
    private Integer isSolve;

    @TableField("isBugLevel")
    private Integer isBugLevel;

    @TableField("inspectTime")
    private LocalDateTime inspectTime;

    @TableField("creationTime")
    private LocalDateTime creationTime;

    @TableField("createdBy")
    private String createdBy;

    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
